package business;

import java.util.ArrayList;

import dbAccess.OrderStatusDBAccess;
import exceptions.DatabaseErrorException;
import exceptions.PasIdentificationException;

import model.OrderStatus;

public class OrderStatusManager {
	private OrderStatusDBAccess osdba = new OrderStatusDBAccess();

	public ArrayList<OrderStatus> getAllOrderStatus() throws PasIdentificationException, DatabaseErrorException {
		return osdba.getAllOrderStatus();
	}

	/**
	 * @param i
	 * @return
	 * @throws DatabaseErrorException 
	 * @throws PasIdentificationException 
	 */
	public OrderStatus getOrderStatus(int i) throws PasIdentificationException, DatabaseErrorException {
		return osdba.getOrderStatus(i);
	}

}
